package cn.v2tila.rsosa.student.service;

import cn.v2tila.rsosa.student.entity.AssoEntity;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author v2tila on 20:23 2019/2/27
 */
@Service
public interface AssoService {
    List<AssoEntity> findBySchoolNoAndAndCollegeNo(String schoolNo, String collegeNo);

    AssoEntity findBySchoolNoAndName(String schoolName, String name);

    AssoEntity saveAndFlush(AssoEntity assoEntity);

    AssoEntity findByUniqueId(String uniqueId);

    AssoEntity findById(Integer id);

    AssoEntity findBySchoolNoAndUniqueId(String schoolNo, String uniqueId);

}
